package com.da.springcloud.service;

import com.da.springcloud.entities.CommonResult;
import com.da.springcloud.entities.Payment;
import com.da.springcloud.util.ResultUtil;
import org.springframework.stereotype.Component;

/**
 * @author JokerDa.
 * @date 2021/1/17 12:12
 * Description:
 */
@Component
public class PaymentFallbackService implements PaymentService {
    @Override
    public CommonResult<Payment> paymentSQL(Long id) {
        return ResultUtil.error("服务降级返回！");
    }
}
